﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- ==============================================================================================
Parameters provided to the template
{0} - radWindow client ID //not generally needed 
{1} - content
=============================================================================================== -->
<templates>	
	<alerttemplate>
		<![CDATA[
		<div class="rwDialogPopup radalert">			
			<div class="rwDialogText">
			{1}				
			</div>
			
			<div>
				<a  onclick="$find('{0}').close();"
				class="rwPopupButton" href="javascript:void(0);">
					<span class="rwOuterSpan">
						<span class="rwInnerSpan">##LOC[OK]##</span>
					</span>
				</a>				
			</div>
		</div>
		]]>
	</alerttemplate>
	
	<prompttemplate>
		<![CDATA[
		<div class="rwDialogPopup radprompt">			
			<div class="rwDialogText">
			{1}				
			</div>
			
			<div>
				<input type="text" id="radprompt_text_{0}" class="rwDialogInput" value="{2}" />
			</div>
			<div>
				<a onclick="$find('{0}').callBack(document.getElementById('radprompt_text_{0}').value);"				
					class="rwPopupButton" href="javascript:void(0);" ><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[OK]##</span></span></a>
				<a onclick="$find('{0}').close();" class="rwPopupButton"  href="javascript:void(0);"><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[Cancel]##</span></span></a>
			</div>
		</div>		
		]]>
				</prompttemplate>
				<confirmtemplate>
					<![CDATA[
		<div class="rwDialogPopup radconfirm">			
			<div class="rwDialogText">
			{1}				
			</div>						
			<div>
				<a onclick="$find('{0}').callBack(true);"  class="rwPopupButton" href="javascript:void(0);" ><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[OK]##</span></span></a>
				<a onclick="$find('{0}').callBack(false);" class="rwPopupButton"  href="javascript:void(0);"><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[Cancel]##</span></span></a>
			</div>
		</div>		
		]]>
	</confirmtemplate>
</templates>